package com.blqy.fr.user.filter;

import com.blqy.fr.security.fillter.TokenAuthenticationFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;

// FilterConfig.java
@Configuration
public class FilterConfig {
    @Bean
    public TokenAuthenticationFilter tokenAuthenticationFilter(RedisTemplate<String, String> redisTemplate) {
        return new TokenAuthenticationFilter(redisTemplate);
    }
}